﻿@model MoneyCounter.Models.Data.LoginModel
@{
	ViewBag.Title = "Log in";
	Layout = "~/Views/Shared/_Layout.cshtml";
}
<script type="text/javascript">
	var onLoad = function ()
	{
		$("header").show();
	}
</script>
<script type="text/javascript" src="@Url.Content("~/Scripts/jquery.validate.min.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")"></script>
<div class="header">
	<p style="font-family: 'Book Antiqua'">
		Please, log in:
	</p>
</div>
<div class="content">
	@using (Html.BeginForm("LogIn", "Account"))
 {
		<fieldset>
			<legend title="Legend title">Please log in</legend>
			<p>
				@Html.LabelFor(m => m.Login)
				@Html.TextBoxFor(m => m.Login)
			</p>
			<p>
				@Html.LabelFor(m => m.Password)
				@Html.TextBoxFor(m => m.Password)
			</p>
			<p>
				@Html.ValidationSummary()
			</p>
			<input type="submit" value="Log In" />
		</fieldset>
 }
</div>
